package com.huike.clues.mapper;

import com.huike.clues.domain.SysOperLog;
import org.apache.ibatis.annotations.Insert;
import org.apache.ibatis.annotations.Mapper;

/**
 *TODO
 *@Author zhu
 *@Date 2025/10/27 17:24
 */@Mapper
public interface SysoperLogMapper {
    //插入日志数据
   @Insert("insert into sys_oper_log (title, business_type, method, request_method, operator_type, oper_name, dept_name, oper_url, oper_ip, oper_location, oper_param, json_result, status, error_msg, oper_time) " +
           "values (#{title},#{businessType},#{method},#{requestMethod},#{operatorType},#{operName},#{deptName},#{operUrl},#{operIp},#{operLocation},#{operParam},#{jsonResult},#{status},#{errorMsg},#{operTime})")
    public void insert(SysOperLog log);

}